Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Boxes


Q3Box_GetData

You can use the Q3Box_GetData function to get the data that defines a box and its attributes.

TQ3Status Q3Box_GetData (
TQ3GeometryObject box, 
TQ3BoxData *boxData);
box
A box.
boxData
On exit, a pointer to a TQ3BoxData structure that contains information about the box specified by the box parameter.
DESCRIPTION
The Q3Box_GetData function returns, through the boxData parameter, information about the box specified by the box parameter. QuickDraw 3D allocates memory for the TQ3BoxData structure internally; you must call Q3Box_EmptyData to dispose of that memory.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996